package org.ne.springboot.pojo;

import lombok.Data;

/**
 * @author wey
 * @date 2025/8/26 下午12:06 08
 **/


@Data
public class ErrorInfo {
    private String originalText;
    private String errorText;
    private String errorKind;
    private String suggestion;
    private String improvedText;

    public ErrorInfo(String originalText, String errorText, String errorKind, String suggestion, String improvedText) {
        this.originalText = originalText;
        this.errorText = errorText;
        this.errorKind = errorKind;
        this.suggestion = suggestion;
        this.improvedText = improvedText;
    }

    // Getters
    public String getOriginalText() { return originalText; }
    public String getErrorText() { return errorText; }
    public String getErrorKind() { return errorKind; }
    public String getSuggestion() { return suggestion; }
    public String getImprovedText() { return improvedText; }
}